package com.qf.hsr.pojo;

/**
 * @author q
 * @version V1.0
 * @date 2021/11/08
 **/
public class Product {

    private Integer id;
    private String proNum;
    private String proName;
    private Double price;
    private User user;

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", proNum='" + proNum + '\'' +
                ", proName='" + proName + '\'' +
                ", price=" + price +
                ", user=" + user +
                '}';
    }

    public Product(Integer id, String proNum, String proName, Double price, User user) {
        this.id = id;
        this.proNum = proNum;
        this.proName = proName;
        this.price = price;
        this.user = user;
    }

    public Product() {
    }
}
